package com.cls.business.service;

import com.cls.business.entity.IndicatorDetail;

import com.cls.common.entity.QueryRequest;
import com.github.pagehelper.PageInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 评审指标详情表 Service接口
 *
 * @author slx
 * @date 2020-11-13 15:15:11
 */
public interface IIndicatorDetailService extends IService<IndicatorDetail> {
    /**
     * 查询（分页）
     *
     * @param request QueryRequest
     * @param indicatorDetail indicatorDetail
     * @return PageInfo<IndicatorDetail>
     */
    PageInfo<IndicatorDetail> findIndicatorDetails(QueryRequest request, IndicatorDetail indicatorDetail);

    /**
     * 查询（所有）
     *
     * @param indicatorDetail indicatorDetail
     * @return List<IndicatorDetail>
     */
    List<IndicatorDetail> findIndicatorDetails(IndicatorDetail indicatorDetail);
    List<IndicatorDetail> findListsOrderByLev(IndicatorDetail indicatorDetail);

    /**
     * 新增
     *
     * @param indicatorDetail indicatorDetail
     */
    void createIndicatorDetail(IndicatorDetail indicatorDetail);

    /**
     * 修改
     *
     * @param indicatorDetail indicatorDetail
     */
    void updateIndicatorDetail(IndicatorDetail indicatorDetail);

    /**
     * 删除
     *
     * @param indicatorDetail indicatorDetail
     */
    void deleteIndicatorDetails(String[] ids);
}
